class Bijiao
{
public static void main(String[] args)
{
int a=3;
int b=6;
System.out.println(a&b);
System.out.println(a|b);
System.out.println(a^b);
}
}